//
//  LZLoginButtonView.h
//  laziz_Consumer
//
//  Created by ZhaoDongBo on 2016/10/24.
//  Copyright © 2016年 XBN. All rights reserved.
//

#import <UIKit/UIKit.h>


typedef NS_ENUM(NSUInteger, LZLOGINBUTTONTYPE_PAGE) {
    LZLOGINBUTTONTYPE_PAGE_LOGIN = 100,
    LZLOGINBUTTONTYPE_PAGE_REGISTER
};

typedef NS_ENUM(NSUInteger, LZLOGINBUTTONTYPE_TAG) {
    LZLOGINBUTTONTYPE_TAG_LOGIN,
    LZLOGINBUTTONTYPE_TAG_REGISTER,
};

@interface LZLoginButtonView : UIView

@property (nonatomic, assign) LZLOGINBUTTONTYPE_PAGE page;

@property (nonatomic, strong) UIButton * loginButton;         //注册
@property (nonatomic, strong) UIButton * registerButton;      //或登录

@property (nonatomic, copy) void(^buttonActionBlock)(LZLOGINBUTTONTYPE_TAG);

- (instancetype)initWithPage:(LZLOGINBUTTONTYPE_PAGE)page;

@end
